package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.PurchaseList;
import com.atguigu.jxc.to.PurchaseCountTo;
import com.atguigu.jxc.to.PurchaseTo;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

/**
 * @ClassName:PurchaseListGoodsService
 * @Version: 1.0
 * @CreateAt:2021/3/8 10:29
 * @Author: ✨HanSan·胡✨
 * @Description:进货单Service
 */
public interface PurchaseListGoodsService {

    ServiceVO save(PurchaseList purchaseList, String purchaseListGoodsStr, HttpSession session);

    Map listByPage(PurchaseTo purchaseTo);

    Map goodsList(Integer purchaseListId);

    ServiceVO delete(Integer purchaseListId);

    ServiceVO updateState(Integer purchaseListId);

    List<Map> count(PurchaseCountTo purchaseListId);
}
